import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '@/views/Home'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/home'
  },
  {
    path: '/home',
    name: 'Home',
    component: Home

  },
  {
    path: '/previewPdf/iframePdf',
    name: 'IframePdf',
    component: () => import(/* webpackChunkName: "Components" */ '@/views/preview-pdf/iframe-pdf')
  },
  {
    path: '/clipboard',
    name: 'Clipboard',
    component: () => import(/* webpackChunkName: "Components" */ '@/views/clipboard')
  }
]

const router = new VueRouter({
  routes
})

export default router
